home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
DEF
/
Utilities
/
Array Primitives
/
putv
< prev
Wrap
Lisp/Scheme
|
1998-10-23
|
255b
|
17 lines
putv vector position value
This puts a value to a vector to the position.
(setq vector (make-array 10))
--> #(nil nil nil nil nil nil nil nil nil nil)
(putv vector 0 1)
--> 1
(aref vector 0)
--> 1
vector
--> #(1 nil nil nil nil nil nil nil nil nil)